package cn.tuling.feign.config;

import cn.tuling.feign.config.interceptor.TokenHeaderInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class FeignProductConfig {

    @Bean
    public RequestInterceptor requestInterceptor() {
        return new TokenHeaderInterceptor();
    }
}
